Skip to content

Conversation

joshtriplett
Copy link
Member

Eliminate the fd-lock dependency by using the new native locking in std.

Eliminate the xattr dependency by turning off a feature flag in tar, since
the tarballs that we extract with bootstrap don't need it.

@rustbot
Copy link
Collaborator

rustbot commented Aug 15, 2025

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 15, 2025
@rust-log-analyzer

This comment was marked as outdated.

@joshtriplett joshtriplett force-pushed the bootstrap-reduce-deps branch from 73fec3a to 669e750 Compare August 15, 2025 01:59
In the process, fix a race condition, by never truncating or writing to
the file unless we currently hold the lock.
Extracting the Rust tarballs doesn't require this.
@joshtriplett joshtriplett force-pushed the bootstrap-reduce-deps branch from 669e750 to 56b33cd Compare August 15, 2025 03:55
@clubby789
Copy link
Contributor

LGTM
@bors r+

@bors
Copy link
Collaborator

bors commented Aug 15, 2025

📌 Commit 56b33cd has been approved by clubby789

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 15, 2025
@Kobzol
Copy link
Member

Kobzol commented Aug 15, 2025

@bors rollup

bors added a commit that referenced this pull request Aug 15, 2025
Rollup of 11 pull requests

Successful merges:

 - #144210 (std: thread: Return error if setting thread stack size fails)
 - #145310 (Reduce usage of `compiler_for` in bootstrap)
 - #145311 (ci: clean windows disk space in background)
 - #145340 (Split codegen backend check step into two and don't run it with `x check compiler`)
 - #145408 (Deduplicate -L search paths)
 - #145412 (Windows: Replace `GetThreadId`+`GetCurrentThread` with `GetCurrentThreadId`)
 - #145413 (bootstrap: Reduce dependencies)
 - #145426 (Fix typos in bootstrap.example.toml)
 - #145430 (Fix wrong spans with external macros in the `dropping_copy_types` lint)
 - #145431 (Enhance UI test output handling for runtime errors)
 - #145448 (Autolabel `src/tools/{rustfmt,rust-analyzer}` changes with `T-{rustfmt,rust-analyzer}`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 82c6ad3 into rust-lang:master Aug 15, 2025
10 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Aug 15, 2025
rust-timer added a commit that referenced this pull request Aug 15, 2025
Rollup merge of #145413 - joshtriplett:bootstrap-reduce-deps, r=clubby789

bootstrap: Reduce dependencies

Eliminate the `fd-lock` dependency by using the new native locking in std.

Eliminate the `xattr` dependency by turning off a feature flag in `tar`, since
the tarballs that we extract with bootstrap don't need it.
@joshtriplett joshtriplett deleted the bootstrap-reduce-deps branch August 16, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants